﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using iLangl.Model;
using System.Data;

namespace iLangl.Customer
{
	public interface IContentDAL
	{
		ContentEntity ReadContent(String contentId);

		ContentDescription ReadContentDescription(String contentId);

		void CreateContent(ContentEntity content, IDbTransaction transaction);
		IList<CustomerContentEntity> ReadContentByProject(Project project);

		void SaveContentPermissions(IList<CustomerContentEntity> permissionsToSave);
	}
}
